Retrieves the SPSite-to-LearningStore mapping represented by a given SPSite GUID. If no such mapping exists, a new mapping object is created -- in that case, the caller should set the properties of the SlkSPSiteMapping object to their correct values and then call Update to store the mapping into the SharePoint configuration database.
Parent Type: SlkSPSiteMapping
Namespace: Microsoft.SharePointLearningKit
Assembly: Microsoft.SharePointLearningKit.dll
| C# |
|
public static bool GetMapping ( ) |
spSiteGuid
The GUID of the SPSite to retrieve a mapping for.
mapping
Set to the retrieved or newly-created mapping.
true if an existing mapping was found; false if a new mapping is created. In the latter case, the new mapping is not stored in the SharePoint configuration database until Update is called.